package com.djb.TvSite;

import java.util.HashMap;
import java.util.Map;

public class Command {
	private  Map<String,String> videoCommands = new HashMap<String,String>();
	private static Command command;
	public Map<String, String> getVideoCommands() {
		return videoCommands;
	}
	private Command(){
		videoCommands.put("PLAY", "p");
		videoCommands.put("QUIT", "q");
		videoCommands.put("FAST_FORWARD", "$'\\e'[C");
		videoCommands.put("REWIND", "$'\\e'[D");
		videoCommands.put("SKIP_FORWARD", "$'\\e'[A");
		videoCommands.put("SKIP_BACKWARD", "$'\\e'[B");
		
	}
	public static Command getCommand(){
		return (command != null)? command: new Command();
	}
}
